package com.hyperfix.common.config;

/**
 * @author JiangChunYu
 * 2024/4/14
 */
public class RequestDataHelper {
    private static final ThreadLocal<Integer> REQUEST_DATA = new ThreadLocal<>();

    public static void setRequestData(Integer pipelineId) {
        REQUEST_DATA.set(pipelineId);
    }

    public static Integer getRequestData() {
        return REQUEST_DATA.get();
    }
}
